<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">
    <h:form id="frmSetPassword">
        <p:dialog header="Set Password"
                  id="dlgSetPassword"
                  widgetVar="wgSetPassword"
                  closable="false"
                  draggable="true"
                  modal="true"
                  showEffect="clip"
                  hideEffect="clip"
                  resizable="false">
            <h:panelGrid id="pnSetPassword"  columns="2" cellspacing="5" >


                <h:outputLabel for="ipNewPassword" value="New Password : *" />
                <p:password match="ipNewPasswordReply"  id="ipNewPassword" value="#{userBean.passwordTemp}" required="true" />
                <h:outputLabel for="ipNewPasswordReply" value="Re-enter Password : *" />
                <p:password  id="ipNewPasswordReply" value="#{userBean.passwordTemp}" required="true" />
                <p:commandButton value="Save"
                                 actionListener="#{userBean.SetNewPassword}"
                                 update=":growl"
                                 oncomplete="LoginRequest(xhr, status, args)"
                                 />
            </h:panelGrid>
        </p:dialog>
    </h:form>
</html>
